package grupobbva.pe.operhc.form;

import java.io.UnsupportedEncodingException;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class CanalForm extends ActionForm{
	
	private static final long serialVersionUID = 1L;
	private String seleccionados;
	private String codCanalHdn;
	private String codCanal;
	private String desCanal;
	
	public CanalForm() {
		seleccionados = "";
		codCanalHdn = "";
		codCanal = "";
		desCanal = "";
	}

	public String getSeleccionados() {
		return seleccionados;
	}

	public void setSeleccionados(String seleccionados) {
		this.seleccionados = seleccionados;
	}

	public String getCodCanalHdn() {
		return codCanalHdn;
	}

	public void setCodCanalHdn(String codCanalHdn) {
		this.codCanalHdn = codCanalHdn;
	}

	public String getCodCanal() {
		return codCanal;
	}

	public void setCodCanal(String codCanal) {
		this.codCanal = codCanal;
	}

	public String getDesCanal() {
		return desCanal;
	}

	public void setDesCanal(String desCanal) {
		this.desCanal = desCanal;
	}
	
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		try {  
			  request.setCharacterEncoding("UTF-8");  
		} catch (UnsupportedEncodingException ex) {
			ex.printStackTrace();
		}
		super.reset(mapping, request);
	}
	
}
